Skip to content

Guard quotes of app text, and record the screenshot guidance A/B - #341

Merged
lana-20 merged 2 commits into
mainfrom
fresh-fence-marker
Nov 12, 2026
Merged

lana-20 merged 2 commits into
mainfrom
fresh-fence-marker

Conversation

@lana-20

@lana-20 lana-20 commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Two red-teaming steps from the ROADMAP.

  • No fence an app can print: the marking is a field, not delimiters. quoting_test.go fails on a quote written by hand around a %s in a message; a planted control failed it.
  • Screenshot guidance, measured and not shipped: an app_screenshot description telling agents to read with app_map and app_text first changed nothing. 100 trials on the Android 17 emulator, Sonnet 4.5, marking on: 17 of 40 trials with a screenshot in both arms where text suffices (p = 1.0); t15 passes 8 of 10 against 7 of 10.

Red teaming's fence step, checked: the marking is a field, so no fence
exists. Every quote of device text in a message goes through %q, and every
WebDriverAgent predicate refuses a name or label holding a quote or a
backslash. quoting_test.go now fails on a quote written around a %s by
hand; a planted one failed it, naming the file and line.
Measured on the Android 17 emulator with Sonnet 4.5, marking on, 100
trials across t15, t16, t28 and t31: 17 of 40 trials with a screenshot
in both arms where the text tools suffice; t15 passes 8 of 10 against
7 of 10.
@lana-20
lana-20 merged commit 767cd14 into main Nov 12, 2026
10 checks passed
@lana-20
lana-20 deleted the fresh-fence-marker branch November 12, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant